css boxes: Compute inline box from border box
authorTimm Bäder <mail@baedert.org>
Tue, 11 Feb 2020 07:29:11 +0000 (08:29 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 11 Feb 2020 11:10:16 +0000 (12:10 +0100)
commit8561860aa12c1d223f058075b9a46ef9692e81d4
treec5af575c06fbe82d588528e2d6ba0f650df290c7
parent37a9d0620dc44b4b14aba286ad6e446254465525
css boxes: Compute inline box from border box

We can't just use the outline rect and apply the border radius because
the outline box is the border box grown by the outline offset, which
will also grow the resulting border radius.

Fixes #2425
gtk/gtkcssboxesimplprivate.h